﻿<s:SurfaceWindow x:Class="Surfium.MySurfaceWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:s="http://schemas.microsoft.com/surface/2008"
    xmlns:my="clr-namespace:Surfium"
    Title="Surfium"
                 
    >
    <s:SurfaceWindow.Resources>
        <ImageBrush x:Key="WindowBackground" Stretch="UniformToFill" Opacity="0.6" ImageSource="pack://application:,,,/Resources/MySurfaceWindowBackground.jpg"/>
    </s:SurfaceWindow.Resources>

    <Grid x:Name="BackingGrid" Background="{StaticResource WindowBackground}" 
          AllowDrop="True"
            s:SurfaceDragDrop.DragEnter="scatterViewItem_DragEnter"
            s:SurfaceDragDrop.DragLeave="scatterViewItem_DragLeave"
            s:SurfaceDragDrop.Drop="Grid_Drop">
        <s:ScatterView x:Name="scatterView" >
            <my:MyWindow/>
        </s:ScatterView>
    </Grid>
</s:SurfaceWindow>
